import { AxiosResponse } from "axios";
import service from "/@/utils/request";
import { ReturnCodeList } from "/@/_types/api/return-type";

/**
 * 数据字典查询
 * @param codeItemId 数据字典类型id
 * @returns 
 */
export function commonList(codeItemId: string): Promise<AxiosResponse<Array<ReturnCodeList>>> {
    var url = "/rest/org/codeList/common_list/" + codeItemId;
    return service.get(url);
}